<?php
	function curPageURL() {
		$host  = $_SERVER['HTTP_HOST'];
		$uri   = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
		return $host.$uri;
	}
	
	$url = curPageURL();
	header("Location: http://$url/cricket/user/logout");
	
?>